import { useRoutes } from 'react-router-dom';
import router from '@/router/index.js'
import Header from '@/components/app-header'
import Footer from '@/components/app-footer'
import { BackTop } from 'antd';
import './App.css'
function App() {
  return (
    <div className="App">
      <Header/>
      {useRoutes(router)}
      <Footer/>
      <BackTop/>
    </div>
  );
}

export default App;
